﻿package bdz.extensions.youtube.events {
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Donald
	 */
	public class YTEvent extends Event {
		
			
		public static const READY:String = "yt_ready";
		public static const COMPLETE:String = "yt_complete";
		
		public var data:*;
		
		public function YTEvent (type:String, info:* = null) {
			data = info;
			super(type);
			
		}

		override public function clone():Event {
              return new YTEvent(type, data);
        }
	}
	
}